package com.bkgy.modular.tbdsjc621thickresult.service;

import com.alibaba.fastjson.JSONObject;
import com.bkgy.modular.tbdsjc621thickresult.entity.SiData3;
import com.bkgy.modular.tbdsjc621thickresult.entity.TbDsjC621thickResult;
import com.bkgy.sys.common.entity.ResultData;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 硅钢厚度1720产线厚度结果评价表接口服务类
 *
 * @author 生成器生成
 * @date 2022-08-17 15:16:28
 */
public interface TbDsjC621thickResultService {

    /**
     * 添加记录
     *
     * @param data   json字符串
     * @param userId 用户id
     * @param sname  用户姓名
     */
    ResultData insertDataTbDsjC621thickResult(String data, Long userId, String sname);

    /**
     * 根据主键删除对象
     *
     * @param indocno 对象主键
     */
    ResultData deleteDataTbDsjC621thickResultOne(Long indocno);

    /**
     * 根据主键字符串删除多个对象
     *
     * @param str_id 对象主键字符串
     */
    ResultData deleteDataTbDsjC621thickResultMany(String str_id);

    /**
     * 修改记录
     *
     * @param data   json字符串
     * @param userId 用户id
     * @param sname  用户姓名
     */
    ResultData updateDataTbDsjC621thickResult(String data, Long userId, String sname);

    /**
     * 分页查看记录
     *
     * @param data 分页参数字符串
     */
    ResultData findDataTbDsjC621thickResultByPage(String data);

    /**
     * 查看一条数据信息
     *
     * @param data 分页参数字符串
     */
    ResultData findDataTbDsjC621thickResultByIndocno(String data);

    /**
     * 查看记录
     */
    List<TbDsjC621thickResult> findDataTbDsjC621thickResult();

    ResultData findThickByVolumeNo621(List<String> volumeNo);

    List<SiData3> findThickByVolumeNo621Si3(List<String> volumeNo);

    void exportList(JSONObject jsonObject, HttpServletResponse response);

    void exportListnew(JSONObject jsonObject, HttpServletResponse response);

    void export(JSONObject jsonObject, HttpServletResponse response);


    void exportold(JSONObject jsonObject, HttpServletResponse response);
}
